home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
gifcat.zip
/
SCANFILE.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-01-19
|
626b
|
21 lines
REM This is SCANFILE.BAT
echo off
REM you might have ZIPLAB or another gizmo here with something like
REM cd\wc30\wcwork\node1
REM wctest %1 \wc30\none\wctest.cfg
REM and so forth....
REM Our GIF package starts with the next CD command. Don't forget it!
cd \wc30
if exist gifdesc.sdi del gifdesc.sdi
test4gif %1
if errorlevel 1 goto end
REM errorlevel 1 here means it's not a .GIF file at all
gifdesc -v %1 > gifdesc.sdi
REM an errorlevel 1 here means a defective GIF header (the file's bad)
if errorlevel 1 goto bad
wcgifput %1
goto end
:bad
copy \wc30\all.ok \wc\wcwork\node%WCNODEID%\scanfile.bad
:end